<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>function</title>
<script type="text/javascript">

	//1.函数声明
	function test1() {
        alert("测试test函数");
    }
    function test2(a,b) {
        alert(a/b);
    }
    function test3(a,b,c) {
        return a+b+c;
    }
	//2.函数调用
	//test1();
    //test2(5,"hello");
    var result = test3(1,3,"5");
	alert(result);
</script>
</head>
<body>

</body>
</html>